<template>
  <div class="left-container">
    <h3>Left 组件</h3>
    <hr />
    <p>count 值：{{ $store.state.count }}</p>
    <p>count 值：{{ $store.state.age }}</p>
    <button class="btn btn-primary" @click="$store.state.age++">+1</button>
  </div>
</template>

<script>
export default {
  name: "Left",
};
</script>

<style></style>
